package com.yhgarden.bbs.model.constants;

public class YhbbsConstants {

    public static final String PUBLIC_KEY = "publicKey";

    public static final String RANDOM_CODE = "randomCode";

    public static final String USER_SESSION_KEY = "user";

    public static final String SYSTEM_USER_SESSION_KEY = "systemUser";

    public static final String REQUEST_HEADER_URL_TYPE = "urlType";
    public static final String REQUEST_HEADER_URL_TYPE_ADMIN = "admin";
    public static final String REQUEST_HEADER_URL_TYPE_PC = "pc";
    public static final String REQUEST_HEADER_URL_TYPE_WECHAT = "wechat";

    public static final String ES_TYPE_METHOD = "getEsType";

    public static final String LOGIN_ACCOUNT_TYPE_TEXT = "text";
    public static final String LOGIN_ACCOUNT_TYPE_PHONE = "phone";
    public static final String LOGIN_ACCOUNT_TYPE_EMAIL = "email";


    //积分规则
    public static final int CHECK_IN_INTEGRAL = 10;         //签到积分
    public static final int MAIN_POST_PASS_INTEGRAL = 50;   //发帖审核通过积分
    public static final int FOLLOW_POST_INTEGRAL = 20;        //回帖积分
    public static final int REDEEM_MEMBER_INTEGRAL = -1000;   //兑换会员
    public static final int MAIN_POST_NOT_PASS_INTEGRAL = -50;        //发帖审核不通过
    public static final int FOLLOW_POST_ILLEGAL_INTEGRAL = -20;      //回帖违规
}
